package com.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dao.UserDao;
import com.pojo.User;
import com.service.UserService;

@Service
public class UserServiceImpl implements UserService{
	@Autowired
	UserDao userDao;
	public User selectOne(User user) {
		return userDao.selectOne(user);
	}
	@Override
	public User selectOneAcc(User user) {
		
		return userDao.selectoneAcc(user);
	}
	@Override
	public Object insert(User user) {
		return userDao.insert(user);
		
	}
	
}
